package com.aviation.job;

import com.aviation.air1.entity.CountEntity;
import com.aviation.air1.service.IAviationService1;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @author: dsf
 * @description:
 * @date 2025/5/7 上午10:59
 */

@Component
public class UpdateStatic {

    @Resource
    IAviationService1 aviationService1;

    @Scheduled(cron = "0 0/10 * * * ?")
    public void updateStatic(){
        CountEntity countEntity = aviationService1.countAviation();
        
    }
}
